JSON requests now working, but with strange requirements...