rename gridToString to gridAsString