generate proper ert tests from .json specs