read limits from json as double