Added runtime API key, Moved all request objects to JSON format