REST: PHP code JSON recieve support