API updated & doc

Return getInfoByHost in JSON