File Based Restful JSON Service ( in one file PHP )