Biobased chemical and energy recovered from waste microbial matrices