Added minimal-json and some bauth stuff