'build_json_template_from_workspace' is fixed

Signed-off-by: Álvaro Arranz <aarranz@conwet.com>