changed json headers to return nothing instead of blank object