Fix block param name and add a new API which return JSON Object