read hdf5 dataset, serve json, restful api on rails