Rendering of single-lines within panels in response to JSON centralized within one function