Mentioned @Tarek Amr and made propoer JSON output
Added an example to verify the API is working fine