Feature/json request

I just added it as a fail safe, most developers forget about sending the header and just go by extension only.