get libraries json data from stdin