Changed format in servlet to accept builder pattern