wrapping for parse of json