use ObjectMapper instead of JsonFactory
add check for no-properties files